package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Order;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

public interface OrderService extends IService<Order> {

    // 查询7月每天的工单总量和超期率
    List<Map<String, Object>> everyday(LocalDate startDate, LocalDate endDate);

    // 查询7月每个部门的工单总量和超期率
    List<Map<String, Object>> everydept(LocalDate startDate, LocalDate endDate);

    // 查询7月每个工单类型的工单总量和超期率
    List<Map<String, Object>> everytype(LocalDate startDate, LocalDate endDate);
}
